@extends('base')
@section('content')
    <div data-am-widget="slider" class="am-slider am-slider-a1" data-am-slider='{&quot;directionNav&quot;:false}'>
        <ul class="am-slides">
            <li>
                <img src="./image/ban6.jpg">
            </li>
            <li>
                <img src="./image/ban3.jpg">
            </li>
            <!--<li>
                <img src="./image/ban1.jpg">
            </li>-->
        </ul>
    </div>
    <div class="inside_pages clearfix">

        <div class="mar_auto">
            <div class="in_left float_l">
                <h2 class="font24 t_big"><b>联系我们</b></h2>
                <p class="font24 t_big1">Contact Us</p>
                <img src="image/tie_suo.jpg" width="179" height="14">
                <ul class="in_list">
                    <li><a href='#' class="current">联系我们</a></li>
                </ul>
                <p><img src="image/map_img.jpg" width="183" height="174"></p>
                <div class="in_phone">
                    <p class="y_1 color_3">{{$setting['tel']}}</p>
                    <span class="y_2">欢迎您来电咨询</span>
                </div>
            </div>

            <div class="in_right float_l">
                <div class="you_position">现在的位置：首页 &gt; <a href="about.html">联系我们</a></div>
                <h2 class="font24 y_3">Contact Us</h2>
                <h3 class="z_1">联系我们</h3>
                <div class="contact_con clearfix">
                    @foreach($contact as $item)
                        <div class="con_txt color_69">
                            <p class="font18"><b> {{$item->name}}</b></p>
                            <?php $datas = json_decode($item->content, true); unset($datas['name']) ?>
                            @foreach($datas as $key=>$name)
                                @if("" != $name)
                                    <p>{{$items['data'][$key]['name']}}：{{$name}} </p>
                                @endif
                            @endforeach
                        </div>
                    @endforeach
                    <div style="margin-top: 15px;">
                        <p class="font18"><b>总部地址</b></p>
                        <iframe src="map" style="width:100%; height: 500px;" frameborder="no" border="0"
                                framespacing="0"></iframe>
                    </div>
                </div>

                {{--<div class="contact_con clearfix">
                    <div class="con_txt float_l color_69">
                        <p class="font18"><b> 浙江瑞昇环境工程有限公司</b></p>
                        <p>联系人：{{$setting['name']}} </p>
                        <p>手机：{{$setting['mobile']}}</p>
                        <p>座机：{{$setting['tel']}}</p>
                        <p>传真：{{$setting['fax']}}</p>
                        <p>邮箱：{{$setting['email']}}</p>
                        <p>总公司地址：{{$setting['addr']}}</p>
                        <p>上海办事处：{{$setting['addr1']}}</p>
                        <p>宁波办事处：{{$setting['addr2']}}</p>
                        --}}{{--<div class="three_tb clearfix">
                            <a href="#"><img src="image/tb_qq.png"></a>
                            <a href="#"><img src="image/tb_weibo.png"></a>
                            <a href="#"><img src="image/tb_weixin.png"></a>
                        </div>--}}{{--
                    </div>

                    <div style="margin-top: 15px;" class="float_r"><iframe src="map.html" style="width:500px; height: 500px;" frameborder="no" border="0" framespacing="0"></iframe></div>

                </div>--}}

            </div>
        </div>
    </div>
@stop